<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
      <title>GTL - Graph Template Library: GML_error Struct Reference</title>
      <link href="doxygen.css" rel="stylesheet" type="text/css">
  </head>
  <body>
    <p class="links">  
      <a href="../index.html">Home</a> |
      Documentation |
      <a href="../register.html">Download</a> |
      <a href="../platforms.html">Platforms</a> |
      <a href="../refer.html">Projects</a> |      
      <a href="../lists.html">Mailing Lists</a> |
      <a href="../history.html">Version History</a>
    </p>

<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>GML_error Struct Reference</h1><!-- doxytag: class="GML_error" -->Reason and position of an error in a GML file.  
<a href="#_details">More...</a>
<p>

<p>
<a href="a00152.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GML_error_value&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#66fe2c5a3d2d40e77ff486007dfe7f76">err_num</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#4e9d11b6501f91a982af87f45962b7b3">line</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#0708757bcd78a82077a0577982f2c433">column</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Reason and position of an error in a GML file. 
<p>
When an error occurs while parsing the structure of a GML file <code><a class="el" href="a00013.html" title="Reason and position of an error in a GML file.">GML_error</a></code> is used to return the type and position of the error detected. Position is specified by <code>line</code> and <code>column</code>, but might be somewhat imprecise. However at least the line number should not differ too much from the real position.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00014.html#93a350b8ce63ef0b0545722ba519fd3d">graph::load</a> </dd></dl>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="66fe2c5a3d2d40e77ff486007dfe7f76"></a><!-- doxytag: member="GML_error::err_num" ref="66fe2c5a3d2d40e77ff486007dfe7f76" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GML_error_value <a class="el" href="a00013.html#66fe2c5a3d2d40e77ff486007dfe7f76">GML_error::err_num</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Contains the error description as symbolic constant: <ul>
<li>
<code>GML_FILE_NOT_FOUND</code>: A file with that name doesn't exist. </li>
<li>
<code>GML_OK</code>: No error :-) </li>
<li>
<code>GML_TOO_MANY_BRACKETS</code>: A mismatch of brackets was detected, i.e. there were too many closing brackets (<code>]</code>). </li>
<li>
<code>GML_OPEN_BRACKET</code>: Now, there were too many opening brackets (<code>[</code>) </li>
<li>
<code>GML_TOO_MANY_DIGITS</code>: The number of digits a integer or floating point value can have is limited to 1024, this should be enough :-) </li>
<li>
<code>GML_PREMATURE_EOF</code>: An EOF occured, where it wasn't expected, e.g. while scanning a string. </li>
<li>
<code>GML_SYNTAX</code>: The file isn't a valid GML file, e.g. a mismatch in the key-value pairs. </li>
<li>
<code>GML_UNEXPECTED</code>: A character occured, where it makes no sense, e.g. non-numerical characters in numbers or keys beginning with numbers </li>
</ul>

</div>
</div><p>
<a class="anchor" name="4e9d11b6501f91a982af87f45962b7b3"></a><!-- doxytag: member="GML_error::line" ref="4e9d11b6501f91a982af87f45962b7b3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00013.html#4e9d11b6501f91a982af87f45962b7b3">GML_error::line</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Contains the line, where the error was detected. This will usually be near the line where the error really is located. 
</div>
</div><p>
<a class="anchor" name="0708757bcd78a82077a0577982f2c433"></a><!-- doxytag: member="GML_error::column" ref="0708757bcd78a82077a0577982f2c433" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00013.html#0708757bcd78a82077a0577982f2c433">GML_error::column</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Contains the column, where the error was detected. 
</div>
</div><p>
    <p class="links">
      <a href="http://www.uni-passau.de/">University of Passau</a>
      &nbsp;-&nbsp;
      <a href="http://www.fmi.uni-passau.de/">FMI</a>
      &nbsp;-&nbsp;
      <a href="http://www.fmi.uni-passau.de/fmi/lehrstuehle/brandenburg/">Theoretical
	Computer Science</a>
    </p>
  <div class="copyright">
      Design &copy; 2002, 2003 <a href="mailto:raitner@fmi.uni-passau.de">Marcus Raitner</a>,  University of Passau 
  </div>
</body>
</html>
